<?php
session_start();
//error_reporting(0);

require 'database/connect.php';
require 'functions/general.php';
require 'functions/users.php';

if(logged_in() === true) {
    $session_user_id = $_SESSION['user_id'];
    $userdata = userdata($session_user_id, 'username', 'password', 'firstname', 'lastname', 'gender', 'emailaddress');
    
}
$errors = array();
?>